﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RearLivestock.Common.Domains.hhx
{
    /// <summary>
    /// 用户信息表
    /// </summary>
    public class Users
    {
        /// <summary>
        /// 用户id
        /// </summary>
        [Key]
        public int UserId { get; set; }
        /// <summary>
        /// 用户账号
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string UserPwd { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string UserMyName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool UserSex { get; set; }
        /// <summary>
        /// 证件Id
        /// </summary>
        public int IDCarId { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string UserIDCard { get; set; }
        /// <summary>
        /// 用户手机号
        /// </summary>
        public string UserPhone { get; set; }
        /// <summary>
        /// 毕业院校
        /// </summary>
        public string UserCollage { get; set; }
        /// <summary>
        /// 电子邮箱
        /// </summary>
        public string UserElect { get; set; }
        /// <summary>
        /// 学历Id
        /// </summary>
        public int StudyId { get; set; }
        /// <summary>
        /// 单位Id
        /// </summary>
        public int UnitId { get; set; }
        /// <summary>
        /// 员工状态Id
        /// </summary>
        public int EmployeeId { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>
        public int EpartmentId { get; set; }
        /// <summary>
        /// 入职日期
        /// </summary>
        public DateTime EntryDate { get; set; }
        /// <summary>
        /// 转正日期
        /// </summary>
        public DateTime TransferDate { get; set; }
        /// <summary>
        /// 职务
        /// </summary>
        public string Position { get; set; }
        /// <summary>
        /// 岗位
        /// </summary>
        public string Post {get; set; }
        /// <summary>
        /// 人事级别
        /// </summary>
        public string Personnel { get; set; }
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RolesId { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsUser { get; set; }
    }
}
